html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
}

.container {
  width: 100%;
  height: 100%;
  margin: auto;
  background-color: #000;
  perspective: 10px;
  transition: perspective 3s ease;
  overflow: hidden;
  &:hover {
    perspective: 2800px;
  }

  .text-wraper {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    display: flex;
    justify-content: space-between;
    span {
      writing-mode: vertical-rl;
      color: #fff;
      font-family: cursive;
      &.center {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2em;
      }
    }
  }
}
